home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacTech 1 to 12
/
MacTech-vol-1-12.toast
/
Source
/
MacTech® Magazine
/
Volume 10 - 1994
/
10.04 Apr 94
/
Accurate Timing
/
TestFuncs.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-02-13
|
307 b
|
35 lines
|
[
TEXT/KAHL
]
/* TestFuncs -----------------------------------------------------
*
* Functions to be timed.
*
*/
#include "TestFuncs.h"
void Foo( long *x, long *y )
{
long i = 5;
do {
*x *= *y;
} while( --i );
}
void FooBar( long *x, long *y )
{
long i = 5;
do {
*x *= *y;
} while( --i );
}